//banner组件
import React from 'react'
//引入样式文件
import '../../asset/css/home/banner.css'
//创建组件
class Banner extends React.Component {
    render() {
        return (
            <div className='banner'>
                <div className='bannerContain'>
                    <div className='vip'>
                        <img src="https://fuss10.elemecdn.com/8/0e/4dd212d831becab6e3ebd484c0941jpeg.jpeg?imageMogr/format/webp/thumbnail/34x/" alt="" />
                        <span>超级会员</span>
                        <span>每月领20元红包</span>
                    </div>

                    <div className='vipAction'>
                        <a href="javascript:;">立即开通 &nbsp;&gt;</a>
                    </div>
                </div>
            </div>
        )
    }
}
//暴露出去
export default Banner